package com.mspbots.core.wise.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseService;
import com.mspbots.core.wise.model.TenantUserWorkSchedule;
import com.mspbots.core.wise.model.dto.TenantUserWorkScheduleDTO;

import java.util.List;

public interface TenantUserWorkScheduleService extends DefaultBaseService<TenantUserWorkSchedule> {


    Boolean saveOneUser(TenantUserWorkScheduleDTO tenantUserWorkScheduleDTO);

    Boolean saveBatchUsers(List<TenantUserWorkScheduleDTO> tenantUserWorkScheduleDTO);

    IPage userPage(Page<TenantUserWorkScheduleDTO> page, TenantUserWorkSchedule queryParams);

    List<TenantUserWorkScheduleDTO> findUserSchedule(Long tenantId);
}
